<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ include file="/commons/pages/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div class="subtitle">
  <h3>编辑信息</h3>
</div>
<s:form action="HeatMetaData!save.action" method="post" name="form">
  <s:token />
  <input type="hidden" name="model.id" value="<s:property value='model.id'/>"/>
  <table width="100%" border="0" cellpadding="5" cellspacing="1" class="tbl_list">
    <tr>
      <th width="16%" align="right"><font color="red">*</font>热量表表号：</th>
      <td width="84%"><input name="model.meter_num" type="text" class="webinput" size="25" dataType="Require" msg="请填写" value="<s:property value='model.meter_num'/>"/></td>
    </tr>
    <tr>
      <th width="16%" align="right"><font color="red">*</font>累计热量：</th>
      <td width="84%"><input name="model.sum_heat" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请填写" value="<s:property value='model.sum_heat'/>"/>
      	 <select name="model.sum_heat_unit" dataType="Require" msg="请选择">
      		<option value="">请选择</option>
      		<option value="1" <s:if test="model.sum_heat_unit==1">selected="selected"</s:if>>KWh</option>
      		<option value="2" <s:if test="model.sum_heat_unit==2">selected="selected"</s:if>>MWh</option>
      		<option value="3" <s:if test="model.sum_heat_unit==3">selected="selected"</s:if>>GJ</option>
		</select>
      </td>
    </tr>
    <tr>
      <th width="16%" align="right">累计流量：</th>
      <td width="84%"><input name="model.sum_flow" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.sum_flow'/>"/>立方米</td>
    </tr>
    <tr>
      <th width="16%" align="right"><font color="red">*</font>抄表时间：</th>
      <td width="84%"><input name="model.record_time" type="text" class="webinput" size="25" dataType="DateTime" msg="请按要求正确填写" value="<s:date name='model.record_time' format="yyyy-MM-dd HH:mm:ss"/>"/> <font color="red">填写格式为：“yyyy-MM-dd HH:mm:ss”，例如：“2012-12-30 11:59:59”</font></td>
    </tr>
    <tr>
      <th width="16%" align="right">瞬时功率：</th>
      <td width="84%"><input name="model.instant_power" type="text" class="webinput" size="25"   dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.instant_power'/>"/>W</td>
    </tr>
    <tr>
      <th width="16%" align="right">供水温度：</th>
      <td width="84%"><input name="model.sup_water_temp" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false"  value="<s:property value='model.sup_water_temp'/>"/>℃</td>
    </tr>
    <tr>
      <th width="16%" align="right">回水温度：</th>
      <td width="84%"><input name="model.back_water_temp" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.back_water_temp'/>"/>℃</td>
    </tr>
    <tr>
      <th width="16%" align="right">供回水温差：</th>
      <td width="84%"><input name="model.temp_diff" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property  value='model.temp_diff'/>"/>℃</td>
    </tr>
    <tr>
      <th width="16%" align="right">瞬时流量：</th>
      <td width="84%"><input name="model.instant_flow" type="text" class="webinput" size="25"  dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.instant_flow'/>"/>立方米每小时</td>
    </tr>
    <tr>
      <th width="16%" align="right">累计运行时间：</th>
      <td width="84%"><input name="model.run_hours" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.run_hours'/>"/>h</td>
    </tr>
    <tr>
      <th width="16%" align="right">累计出错时间：</th>
      <td width="84%"><input name="model.wrong_hours" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.wrong_hours'/>"/>h</td>
    </tr>
    <tr>
      <th width="16%" align="right"><font color="red">*</font>热表系统时间：</th>
      <td width="84%"><input name="model.sys_hours" type="text" class="webinput" size="25" dataType="DateTime" msg="请按说明正确填写"  value="<s:date name='model.sys_hours' format="yyyy-MM-dd HH:mm:ss"/>"/><font color="red">填写格式为：“yyyy-MM-dd HH:mm:ss”，例如：“2012-12-30 11:59:59”</font></td>
    </tr>
    <tr>
      <th width="16%" align="right"><font color="red">*</font>故障信息：</th>
      <td width="84%"><input name="model.wrong_info" type="text" class="webinput" size="25" dataType="Require" msg="请填写" value="<s:property value='model.wrong_info'/>"/>  注：没有故障信息请填“无”</td>
    </tr>
    <tr>
      <th width="16%" align="right">其他信息：</th>
      <td width="84%"><textarea id="textarea" name="model.demo" cols="60" rows="8"><s:property value='model.demo'/></textarea></td>
    </tr>
    <tr>
      <th>&nbsp;</th>
      <td><input type="submit" class="websub" value="提 交" />
        <input type="button" class="websub" onclick="history.back();" value="返 回" /></td>
    </tr>
  </table>
</s:form>
<script src='/commons/scripts/validator.js'></script> 
<script type="text/javascript">
$j(document).ready(function(){
	form.onsubmit = function () {
		return Validator.Validate(this, 3);
	}
});
</script>
</body>
</html>
